package com.sunstar.club.subject.domain.service;

import com.sunstar.club.subject.common.result.PageResult;
import com.sunstar.club.subject.domain.entity.SubjectInfoBo;

/**
 * 题目信息领域服务
 */
public interface SubjectInfoDomainService {

    /**
     * 新增题目
     *
     * @param subjectInfoBo
     */
    void add(SubjectInfoBo subjectInfoBo);

    /**
     * 分页查询
     *
     * @param subjectInfoBo
     * @return
     */
    PageResult<SubjectInfoBo> getSubjectPage(SubjectInfoBo subjectInfoBo);

    /**
     * 查询题目信息
     * @param subjectInfoBo
     * @return
     */
    SubjectInfoBo querySubjectInfo(SubjectInfoBo subjectInfoBo);
}
